package cn.jieruoda.eb.user.domain.repository;

import cn.jieruoda.eb.user.domain.entity.UserSmsRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserSmsRecordRepository extends JpaRepository<UserSmsRecord, Integer> {
    List<UserSmsRecord> findByUid(String uid);
    List<UserSmsRecord> findByPhone(String phone);
    List<UserSmsRecord> findByTemplate(String template);
    List<UserSmsRecord> findByResultcode(Integer resultcode);
} 